Input two integers in a single lineΒΆ
Input two integers in a single line.
print("Input the value of x & y:")
x, y = map(int, input().split())
print("The value of x & y are: ",x,y)
Output:
Input the value of x & y:
2 4
The value of x & y are: 2 4